const { defineConfig } = require("@vue/cli-service");

module.exports = defineConfig({
  transpileDependencies: true,
  css: {
    loaderOptions: {
      postcss: {
        postcssOptions: {
          plugins: [
            [
              "@minko-fe/postcss-pxtorem",
              {
                rootValue: 3.75, // 1rem等于多少px
                selectorBlackList: [],
                propList: ["*"],
                atRules: ["media"],
              },
            ],
          ],
        },
      },
    },
  },
});
